<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>

<div class="col-xs-12">
    <form:form commandName="map" cssClass="form-horizontal" role="form">
        <div class="form-group">
            <label class="col-sm-2 control-label no-padding-right" for="taskName">任务名称</label>
            <div class="col-sm-3">
                <input type="text" name="taskName" id="taskName" placeholder="任务名称"
                       class="form-control">
            </div>
            <label class="col-sm-2 control-label no-padding-right">反馈单位</label>
            <div class="col-sm-3">
                <input type="text" name="sendDeptName" id="sendDeptName" placeholder="反馈单位"
                       class="form-control">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label no-padding-right" for="type">消息类型</label>
            <div class="col-sm-3">
                <select name="type" id="type" class="form-control">
                    <option value="">点击选择</option>
                    <option value="1">反馈</option>
                    <option value="2">撤销申请</option>
                </select>
            </div>
            <label class="col-sm-2 control-label no-padding-right" for="type">读取状态</label>
            <div class="col-sm-3">
                <select name="state" id="state" class="form-control">
                    <option value="">点击选择</option>
                    <option value="0">未读</option>
                    <option value="1">已读</option>
                </select>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label no-padding-right">反馈内容</label>
            <div class="col-sm-8">
                <textarea rows="3" class="form-control" id="content" name="content" ></textarea>
            </div>
        </div>

    </form:form>
</div>
<script type="text/javascript">
    jQuery(function ($) {
        $('.date-picker').datepicker({
            inline: true,
            format: "yyyy-mm-dd",
            autoclose: true,
            todayHighlight: true,
            language: 'cn'
        })
        //show datepicker when clicking on the icon
            .next().on(ace.click_event, function () {
            $(this).prev().focus();
        });
    });
</script>